<div style="width: 600px;">
<form id="ajax_form" onsubmit="return CompanyAvailableJobs.processJob();">
	<table class="table">
		<tbody>
			<tr>
				<td class="right rlabel"><label for="title"><?php echo $this->lang->line('job_title'); ?>:</label></td>
				<td colspan="3">
					<input type="text" class="inputdiv" value="<?php echo $title; ?>" id="title" name="title" />
				</td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idcategory"><?php echo $this->lang->line('job_category'); ?>:</label></td>
				<td colspan="3"><div id="jobCategory"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idspecialty"><?php echo $this->lang->line('job_specialty'); ?>:</label></td>
				<td colspan="3"><div id="jobSpecialty"></div></td>
			</tr>
			<tr>
				<td width="120" class="right rlabel"><label for="idhierarchy"><?php echo $this->lang->line('job_hierarchy'); ?>:</label></td>
				<td colspan="3"><div id="jobHierarchy"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idcountry"><?php echo $this->lang->line('job_country'); ?>:</label></td>
				<td colspan="3"><div id="ajaxCountry"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idstate"><?php echo $this->lang->line('job_state'); ?>:</label></td>
				<td colspan="3"><div id="ajaxState"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="description"><?php echo $this->lang->line('job_description'); ?>:</label></td>
				<td colspan="3">
					<textarea class="inputdiv" rows="3" value="" id="description" name="description"><?php echo $description; ?></textarea>
				</td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="keywords"><?php echo $this->lang->line('job_keywords'); ?>:</label></td>
				<td colspan="3">
					<textarea class="inputdiv" rows="3" value="" id="keywords" name="keywords"><?php echo $keywords; ?></textarea>
				</td>
			</tr>
			<tr>
				<td width="120" class="right rlabel"><label for="idlevel"><?php echo $this->lang->line('job_courselevel'); ?>:</label></td>
				<td colspan="3"><div id="courseLevel"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idcoursetype"><?php echo $this->lang->line('job_course'); ?>:</label></td>
				<td colspan="3"><div id="courseType"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><input type="checkbox" value="Y" name="idcoursecompleted" id="idcoursecompleted" class="checkbox"></td>
				<td colspan="3"><label for="idcoursecompleted"><?php echo $this->lang->line('job_coursecompleted'); ?></label></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="minsalary"><?php echo $this->lang->line('job_minsalary'); ?></label></td>
				<td width="125">
				<input type="text" size="15" class="input" value="<?php echo $minsalary; ?>" id="minsalary" name="minsalary" /></td>
				<td class="center rlabel" width="40"><label for="maxsalary"><?php echo $this->lang->line('job_maxsalary'); ?></label></td>
				<td>
				<input type="text" size="15" class="input" value="<?php echo $maxsalary; ?>" id="maxsalary" name="maxsalary" /></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="iddrivelicense"><?php echo $this->lang->line('job_drivelicense'); ?>:</label></td>
				<td colspan="3"><div id="jobDriveLicense"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><input type="checkbox" value="Y" name="idtravel" id="idtravel" class="checkbox"></td>
				<td colspan="3"><label for="idtravel"><?php echo $this->lang->line('job_travel'); ?></label></td>
			</tr>
			<tr>
				<td class="right rlabel"><input type="checkbox" value="Y" name="idflit" id="idflit" class="checkbox"></td>
				<td colspan="3"><label for="idflit"><?php echo $this->lang->line('job_flit'); ?></label></td>
			</tr>
			<tr>
				<td class="right rlabel"><input type="checkbox" value="Y" name="idhomeoffice" id="idhomeoffice" class="checkbox"></td>
				<td colspan="3"><label for="idhomeoffice"><?php echo $this->lang->line('job_homeoffice'); ?></label></td>
			</tr>
			<tr>
				<td class="right rlabel"><input type="checkbox" value="Y" name="iddeficiency" id="iddeficiency" class="checkbox"></td>
				<td colspan="3"><label for="iddeficiency"><?php echo $this->lang->line('job_deficiency'); ?></label></td>
			</tr>
			<tr>
				<td colspan="4" class="center">
					<label for="btnEnter"><input type="submit" id="btnEnter" class="submit" value="<?php echo $this->lang->line('job_save'); ?>" /></label>
				</td>
			</tr>
		</tbody>
	</table>
	<div id="result_ajax"></div>
	<input type="hidden" value="<?php echo $id_job; ?>" name="idjob" id="idjob" />
</form>
</div>
<script type="text/javascript">
CompanyAvailableJobs.getJobHierarchy();
CompanyAvailableJobs.getJobCategory();
<?php 
	if (isset($set_category_value)) echo $set_category_value;
?>
CompanyAvailableJobs.getJobSpecialty();
getCountry('#ajaxCountry', '#ajaxState', null);
<?php 
	if (isset($set_country_value)) echo $set_country_value;
?>
getState('#ajaxState', null, '/single/any');
CompanyAvailableJobs.getCourseLevel();
<?php 
	if (isset($set_level_value)) echo $set_level_value;
?>
CompanyAvailableJobs.getCourseType();
CompanyAvailableJobs.getDriveLicense();
<?php 
	if (isset($extrascript)) echo $extrascript;
?>
</script>